﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ContractList.aspx.cs" Inherits="ContractList" %>

<!DOCTYPE html> 
<html> 
	<head id="Head1" runat="server">
        <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>运维合同预警</title> 
        <link href="Content/jquery.mobile-1.2.0.min.css" rel="stylesheet" type="text/css" />
        <script src="Scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
        <script src="Scripts/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
        <link href="Content/Default.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript">
            $.mobile.ajaxEnabled = false;
        </script>
    </head> 
<body>     
    <form id="form1" runat="server">
    <!-- start page -->
    <div data-role="page">

	<!-- start header -->
	<div data-role="header" data-theme="c" data-position="inline" data-backbtn="false">
        <a href="desktop.aspx" data-icon="home">桌面</a>
		<h1>运维合同预警</h1>
        <a href="Default.aspx" data-icon="forward">退出</a>
	</div>
	<!-- end header -->

	<!-- start content -->
	<div data-role="content">	
        <asp:Repeater ID="CList" runat="server">
            <HeaderTemplate>
                <ul id="CList" data-role="listview" data-inset="true" data-theme="c" data-filter="true" data-filter-placeholder="查询中...">
            </HeaderTemplate>
            <ItemTemplate>
                <li><a href='<%#"NewContract.aspx?cid="+Eval("cid") %>'>
                    <h3>【<%# Eval("Region")%>】- <%# Eval("StationName")%></h3>
                    <p><strong>合同号：<%# Eval("ContractNo")%></strong></p>
                    <p><%# Eval("BeginDate")%>——<%# Eval("EndDate")%></p>
                    <p class="ui-li-aside"><%# Eval("Status")%></p>
                </a></li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>
            </FooterTemplate>
        </asp:Repeater>
	</div>
	<!-- end content -->

	<!-- start footer -->
	<div data-role="footer" data-theme="c" data-position="fixed">
		<h4>Copyright © 2013 朴极,Inc</h4>
	</div>
	<!-- end footer -->

    </div>
    <!-- end page -->
    </form>    
</body>
</html>
